package com.haredot.service;

import com.haredot.dto.BindMenuSysDto;
import com.haredot.entity.Menu;
import com.haredot.vo.PageVo;
import com.haredot.vo.R;

import java.util.List;
import java.util.Map;

public interface MenuService {
    R<?> saveMenu(Menu menu);

    R<PageVo> queryMenusByPage(PageVo pageVo, Map<String, Object> params);

    R<?> bindSys(Long menuId, List<Long> sysIds);

    R<?> batchRemoveMenus(List<Long> menuIds);

    R<?> updateMenu(Menu menu);

    R<BindMenuSysDto> querySysBindMenuListBySysId(Long sysId);

    R<?> removeMenu(Long menuId);
}
